﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>@Resources.Views.Shared._Layout.Title</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />

    @Styles.Render("~/Content/LayoutLtr")
    @Styles.Render("~/Content/kendo")

    @Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryval")
    @Scripts.Render("~/bundles/kendo")


</head>

<body>
    <div id="mainDiv">
        <!-- #wrapper -->
        <div id="wrapper">
            <!-- #header-->
            <header id="header">
                <ul class="ulLayout">
                    <li id="logo">
                        <img src="https://lh5.googleusercontent.com/-O0phvY5h-WU/UK5g8Qe1ztI/AAAAAAAAFZg/DDxuZtJ4TiE/w313-h235-n-k/SAM_0143.JPG" alt="ahmed fathi" width="100" height="100" />
                    </li>
                    <li id="account">
                        @Html.Partial("_LoginPartial")
                    </li>
                    <li id="language">
                        @Html.ActionLink("English", "ChangeCulture", "Home", new { Culture = "en", returnUrl = this.Request.RawUrl }, new {@class="k-button" })
                    </li>
                    <li class="clearFlow"></li>
                    <li class="copyRight">@Resources.Views.Shared._Layout.CopyRight</li>
                </ul>
            </header>
            <!-- #middle-->
            <div id="middle">

                <!-- .sidebar#sideLeft -->
                <aside class="sidebar" id="sideLeft">
                    @(Html.Kendo().PanelBar()
                    .Name("PanelBar")
                    .HighlightPath(true)
                    .ExpandMode(PanelBarExpandMode.Single)
                    .Items(items =>
                    {
                        items.Add().Text(@Resources.Views.Shared._Layout.Home).Action("Index", "Home", new { culture = @ViewBag.Culture });
                        items.Add().Text(@Resources.Views.Shared._Layout.Products)
                            .Items(subitems =>
                            {
                                subitems.Add().Text(@Resources.Views.Shared._Layout.Ecs).Action("Ecs", "Products", new { culture = @ViewBag.Culture });
                                subitems.Add().Text(@Resources.Views.Shared._Layout.Lms).Action("Lms", "Products", new { culture = @ViewBag.Culture });
                            });
                        items.Add().Text(@Resources.Views.Shared._Layout.AboutUs).Action("About", "Home", new { culture = @ViewBag.Culture });
                        items.Add().Text(@Resources.Views.Shared._Layout.ContactUs).Action("Contact", "Home", new { culture = @ViewBag.Culture });
                        items.Add().Text(@Resources.Views.Shared._Layout.Admin)
                            .Items(subitems =>
                            {
                                subitems.Add().Text(@Resources.Views.Shared._Layout.Expenses).Action("Expenses", "Admin2", new { culture = @ViewBag.Culture });
                                subitems.Add().Text(@Resources.Views.Shared._Layout.Messages).Action("Messages", "Admin", new { culture = @ViewBag.Culture });
                                subitems.Add().Text(@Resources.Views.Shared._Layout.Users).Action("Users", "Admin2", new { culture = @ViewBag.Culture });
                            }); 
                    })
                    )

                </aside>

                <!-- #container-->
                <div id="container">
                    <!-- #navigation-->
                    <nav id="navigation">
                    </nav>
                    <!-- #content-->
                    <section id="content">
                        @RenderBody()
                    </section>
                </div>


                <!-- .sidebar#sideRight -->
                <aside class="sidebar" id="sideRight">
                    <p>sideRight</p>
                </aside>
                <div class="clearFlow"></div>
            </div>
        </div>
        <footer id="footer">
            <div class="copyRight">
                <div>&copy; @DateTime.Now.Year @Resources.Views.Shared._Layout.CopyRight</div>
            </div>
        </footer>
    </div>

</body>
</html>



